temp fix of error caused by grep returning multiple matches.