Forget to check the type before setting the TRUE flag