fixed wrong SQL