fix bug where atmos layers were not made floats