typos and bugfixes in setting rate/timeout