fix bug regex