minor pattern fix