fixed xyz stage location bug