remove unneeded constant and import