rollback constants usage to fix travis build