improvements on the editor