merge options with defaults