small fixes synchronize timer