updated h2.clear for mobile