patched coordinate setting