changed sqlite loc