resolving extend elements