Fixes issue with passing through origin multiple times