fix cell metadata