Fixed Ridged compile errors