bug fix for cparser