change oncomplete timing