handles false correctly