removes unneeded constant