boost pass by ref bug fix;