edit error message when not found