improved flame and removed astroid-init bug