support options merging