Better fix for error checking