fix cost center validation issue
bug fix and code clean