don't set flash error if it's already set