fix wrong class specification