fixed a error in the typedetection of a certain repository element