fix configuring cell bug