fixed the header width bug