parsing options for container elements