fixed wrong parent reference
adapt to latest fabric-api changes