added missed __resume__ handling