fix small regex bug