bug fix on cable cal