simplify the operation when at most one robot can be added
fix more memory leaks by Fsu0413
update images