change x: Some[A] to Some(x) in pattern matching