fixed empty string being coerced to 0, resulting in operation performed instead of error.