fix constantarray
subtypes should probably be fundamental instead of ctypes