fix new extension handling