Fix __flash__xxx methods

Fix __flash__xxx methods