sql fix?