fix for server sided crash reported on forum