fixing while-loop in IO for the extensions
init delayTime in Frame