Fixed bugs in ticket review.