Use e instead of g in substitution to hide error message