fixed parsing html content