Fixed crash when loading on servers