add more feature in commonheader

common header is more powerful