proper config for build