Fixed bug that caused compilation to fail