fixed db insert quote bug