fix constant name and slighlt reformat ed command