Just when I thought I got all the type errors, I got another