fixed minor initialization problem