fix the bug that replaces original flash helper.