less strict N_EDITMODE check