fixed professor display issue by adding .first to activerecord return