fixing regex