fixing csc errors