dealt with the header problem