add functions
fix bug
v1.3.0