fixed the seed assignment bug in mkfrag.py