version 5.2

fix some bugs