replace += 1 with ++ to pass golint
rename invalidContnetSize with ErrInvalidContnetSize to pass golint
replace %d with %f to pass go vet
bugfix: Stop called on uninitialized Timer