modified when getPositionObjectName returns -1, what happens in that case