fixed encodings, removed uneccessary query string