fixed flash message for successful creation