update npm and bug fix