Bug fixed in init method of extension print