Remove ap from config