fix run unmark first time will throw error