I deleted all the code and defines
did everything from blank sheet, and now it works properly....