cast song id to int when rating