put string in the right place