modified reset coordinate.