removed redundant if statement in htmlAll