bug fixes in upscaling part of aerosol retrieval module