fixed repository usage for look up of called elements