Fixing empty input bug (ignores defaults, throws error).