fix undefined implode() in parts_name building