Add errorManager, fix some bug
Version 1.1.0