fixed error of -MAX_EXP in conditional expressions