attempt at fixing npm behaviour