modify st_view and trap_view