fix for initialization problem