Fix mock pinning