Added error check in kapCN_get.