fix defines