algo fix and basic settings