graphics fixed, sql