Fixes a bug preventing the project compile