wrote own decode uri method