fix small bugs with world equality checking