fixed some header problems