Fix options passing for an empty element