fixed for leveldown 1.0.0