Fixes header errors