modify view show event