Fix #904 - s/???/invalid/g