fixing gcc4.4 issue