Fixed agent getFullName method