some new compile errors fixed