fixed recommendation algorithm