fixed order of a and p tags