remove flash helper