fix initialization problem