fixed cell's bug with dirty hack