fixed some spamminess when using the code editor widget