fix installing as global