Deal with white spaces in ids