fixed config and bug bootstrap helper