SQL file fix