fix bug at favourite saving