Bugfix on putting vs returning string