Fixed bugs in mass tipping