support astropy v0.2.x again