layer.r: added missing error message spacer