add conditional for getting genres to handle case with no genres