fix toast error