delete unnecessary constants