added checks for ROS parameters