fixed various syntax and compile errors...