fix access origin and version