fix usage of rosdistro api