fix origin_constants