fix install routine