fixing editor positioning