fixes back buttons and form page