Trying to narrow down where this bug is coming from