fixed a crash with styled cell