fix some wrong behavior