fixed project file and reset on connection change