removed errors from Main