Crash bug in MYT - wrong function called