fix favorite bug