apparently this fix is needed for either astropy 0.3 or numpy 1.8