fixed bug that prevented compile