This is a pun on 'mend' which means to repair something, but 'mendel' is used in it's place because it sounds similar and because it's the name of Gregor Mendel who was a biologist
The geneticist taught his students how to mendel defective genes .