smal refactoring remove dupplicate constants