make it ok for npm module