fix wrong usage of classes
create exec.