minor bug initializing.