cleanup and fix install error