fixed flash message class
updated docs