small change to astromatic.py