Fix end thesis