editor: cleanup some warnings