fix to ensure value is always a string