fix empty operator bug