fixed html rendering issue from mongo