remove partial ugliness of npmpi