bugfix: parse x, y as int