this looked straight forward I looked at the SitePage labeled home.aspx and in the page directive it just had a line like
<%@ Page Language="C#" Inherits="Microsoft.SharePoint.WebPartPages.WikiEditPage" MasterPageFile="~masterurl/default.master" MainContentID="PlaceHolderMain" %>
whereas my new aspx page has
<%@ Page Language="C#" %>
so i assumed I just needed to add in MasterPageFile="~masterurl/default.master"
when i do i get an error on the page and a correlation id that maps to these errors below. So how do I add a masterPage to a new SitePage?