DEV-1268 #comment fixed header and footer line rendering