prototype flash message fix