fixed bug with checkbox on display the side bar