Debugging this weirdness