fix project settings file
fix some potential memory leaks