fixed masonry problem