prevent further operation with invalid values which may cause assertion failure or divided by zero. needs more hwtest