Bugs fixed for TTBar scan