update config, update golang traps, add bit getter and setter.