Why do refs panic in those situations?