on form rendered event; routes cleanup;