change macro numbers to ui parent const
retab main files