fixing installation code