Fix modifier to contain elements