added authorname ref method, fixed xpath issue