Fixes compilation warning