Corrected small compile errors