extraction bugfix