fixed npm integration issue