remove unnecessary constants