MethodRtnPrimitiveType bug fixed