check for error before existance of region in all cases