Fix compiler warning