fix bug in context aware recommendation