fix for npm usage