attempting to fix tensecondtimeout bug