fixed children offset bug