added toggle change, fixed boolean