fix regex match