Fixes compiler warning