Fix for bad check