bugfix when assigning single string values