fixed selecting of box