fix compute class