deal with the constant variable error