put config back in query string