Fixed DL cost bug