remove unnecessary regex.