make optional params optional for m/r connection