Added extra debugging errors