fixed examples to work with current REScala version