correct html dom structure
adjust size