more stupid type errors