remove some compilation errors from segment storage