fix issue with retrieving names