convert to case to fail properly