Fix atmosphere class