cleanup routes with regexp