fix install stage