another attempt to fix legend hackhack