added default empty errors object