[Bug fix] Add error exception for header table