Now it flashes the error when a number is not available. Still not ideal though...need to do some controller refactoring.