Corrected a couple of compile errors