boost and error fixed