fixed the 10->9 bug