handle list separation in operators