added contentSelector option