spawn config moved to its right place