code review: bad cut&paste