remove empty option in edit mode