fixing config for domain and draft