remove custom code from join command