fixed recommendation bug