Fixed baparagraph issue in mastfoot