clean up ra parser