* fixed sword.config = undefined bug