fix flatpage layout