workaround for parsing astropy quantities