fixed faulty foldMaker behaviour and styling