Editor bug fixed