fixed server route problem
fixed issue with the query, it was broken