Fixing compilation warning