refactored author name helper