Add a check, if no machine for instance crash with an SQL error otherwize on an empty string