fix for editor compile error