Fixed elimination bug