fixed bugs fixed total