Lib: changed pos to have ' ' instead of 's' in grep expression.