added cell lock bug;