fixed a bug (favorites)