fix issue with no primitive type