remove unneeded constants