fix trying to join a string