editor directive move and fix