fix gather_chunks command and chunk name in model