Stupid type bug