setting extension info correctly