fix toast plugin