fixing a bug with the checkbox icon