was displaying the id when it should have been displaying the name