fixed propagation of timeout parameter + fixed typo