removing useless var
adding sync bar
make the sync bar fully functionnal