fix for unexpected flow in try/catch