fixed messed up style in text editor in debug mode