fixed some bugs. F1=0.927