remove unnecessary regex