fix bugs

[skip ci]