finish ctype