Also /debug @debug, and see what exact event is happening when you use the /join command. Might return some other command.