Fix dbCommand