Fix to choose html elements