fix the error with gcc4.8.x