Fixed a problem with sandstone