Cast environment variable returns to string