fixed a url decoding bug, very basic front-end