improvement for cell boolean