Accounted for the empty string error