fix sam thesis