double cell bug correction