fixed parsing bug + updated example chtml