expand 's' to 'sub'