Fixed filename is undefined of csLoader

Fixed filename is undefined of csLoader