fixed genimg.py of LVLedit