fix regex on log