removing some compile errors