preventing child runaway behavior