handle type errors, idiot