print all kinds of reference string