remove meaningless code