fixed ra/dec flip issue