Change the quest info attributes
fix some coding style and reluctant code