Fix inputError method call