fix debug code :(