fixed another bug with single row returns
updated documentation