Fix issues in caspConvRew.l