added fix in html for pagination