added *.db -> sql autocommand
stripped whitespace