parse reference type