fix int and bool types