fixed typo in getTimeout