Index: trunk/pstamp/scripts/pstamp_finish.pl
===================================================================
--- trunk/pstamp/scripts/pstamp_finish.pl	(revision 25714)
+++ trunk/pstamp/scripts/pstamp_finish.pl	(revision 25716)
@@ -209,5 +209,5 @@
                     # ra_deg and dec_deg are the coordinates of center of the stamp
                     # XXX do this more cleanly
-                    my (undef, $ra_deg, $dec_deg) = split " ", `echo $out_dir/$img_name | fields -x 0 RA_DEG DEC_DEG`;
+                    my (undef, $ra_deg, $dec_deg) = split " ", `echo $out_dir/$img_name | fields -x -1 RA_DEG DEC_DEG`;
                     $ra_deg = 0.0 if (!$ra_deg);
                     $dec_deg = 0.0 if (!$dec_deg);
