fixed small compilation warning in release mode