wait for submit