added a size helper; rectified handling of empty literal parameter values