adding fix for move cell bug