fixed an edge case bug in ff when the container wasnt "body"