fix weird npm dependency bug