make sure we are being passed the correct objects to fragments