rename mesh type too