Fix retrieving string values from env