fixed recommendation bugs