minor fixes to offer timout patch