private var initialization bug fixed