reset gate params, if invalid values supplied