Fix using PrepareStatement