start: check maxcount in free()