changed order of function call in my zone