ENH: change thesis to correct type