fixed small connecting mistake i ajax /sql