bugfix for a try statemant