modify the magic_show