remove useless module and constants