Fix weight and profile configuration