add cursor coordinate, got something strange