fixed a initalization error.