fix masonry