fix install bugs