minor fix in getting print format html