fix empty cell bug discovered at NECTW2014