add rainbows_fail_timeout variable and fix typo