fixed opened editor window bug