Fix select error to actually be a string