remove channel for stability
fix db locking