diff --git a/tools/oneclick/gui/unb_gui_commands.py b/tools/oneclick/gui/unb_gui_commands.py
index 6d03441bccd562b39e08ef77a113df480a00fce2..5bf86152e06d33038a25f4ed5fe7ef44724a0ee8 100644
--- a/tools/oneclick/gui/unb_gui_commands.py
+++ b/tools/oneclick/gui/unb_gui_commands.py
@@ -377,6 +377,13 @@ class Commands:
 
         else:
             return True
+            
+    # remove tmp.rbf
+    def rm_rbf(self):
+    		lcu_list = self.make_lcu_list()
+    		cmd = "rm /tmp/tmp.rbf"
+    		for lcu in lcu_list:
+    		    self.run_command(cmd,lcu)
     
     #function for the FLASH Button on the general tab.    
     def flash_rbf(self):
@@ -439,4 +446,8 @@ class Commands:
         self.print_to_terminal('Loading user image\n')
         self.remu()
         self.regmap()
+        
+        self.rm_rbf()
+        # delete tmp.rbf here
+