mem fiks , freesurface added