added to the finally block instead. better :)