fix https://code.ros.org/trac/ros-pkg/ticket/5270