updated parser to catch more funky ROS statements