adds quotes when necessary