fix application recreate error