resolve bug
print performance