adding fix for external editor