added missing except block