Added the case for an key of 0, one error to repair