remove favorite code