fixing editor warning