added methods to remove NA cost entries