Prevent type error on unmatch