editor code fixed