fix bug in recommend