Fixing the event trigger for get method on entity