fix dir align and live header