fixing bugs -checkbox work in progress