split references using <*> rather than whitespaces and remove whitespaces afterward