remove unused constants

• fix sql quotes