faster removebuckets routine
removed log