remove config details before publish