fixed small regex bug