fixed onEdit / reading from e.event instead from data