fix the crash on world join, Closes #1