Fix bug were flash error hash was inserted into html