fixed single quote request table and sql requests