bugfixes for openvg example