html view cleanup