fixed bug causing the project to be reloaded on each save