fixed the header page memory issue

now test case 15 not working :\