fixed error from gcc