fix inactivity of form