parsing html stuff fixed