minor fix: SQL