check origin is actually set