fixed cell bug