fix installation code