fixing error masonry