fix-intializing variables