fix astropy ref