Fixed misnamed variable in onJoin
this one was probably my fault