fixing a could CS errors