bugfix for scala match error in prepared extract refactorings