major fixes in rLayerPap v. 0.1.5