change in variable error as a constant