Updated library fix bug