fix bugs in Performance