crowddetector: Initialize variables properly

Change-Id: Ia4957798e13d3c46be7f698b262c7a9f32fbeb4d