Fix on switching project