fix some strange code
fix some strange code