remove some dependencies and fix bug in the editor