Catching errors in dirty branch case =D