change position of debug print