fix app errors, update npm