support core package config.Fixes #556