change flash message element paths