fix api controller test after merge