fixed error when user click in an unexpected element inside a cell