fix some error manual operations