removed uneeded ap from controller