empty edit error workings