fixed a small bug with non declared extrinsics