setTimeout fix for missing timeout argument