just a simple error check, so we dont burn in a house fire if things go crazy