Fix error in error check