Remove unnecessary try catch block
Fix tab not showing up when entering with runtime error