crash in oncomplete