figured out the constantizing error