Fix escape_ methods

Fix escape_ db methods. (leftovers)