parsing html content but has concurrency problem