minor initialization bug fix