fixing checkbox