Fixes compiler error