ps1dbToAnd.py: fix it to make it work