added on show event to listener