fixed threading issue
v1.5.1