temp fix for double spend problem