trigger event after render