fixed compile errors in header.
squashed some compile errors