(#1) - fixed up some bugs when adding components to projects