fix flatpage url