change timing to decode URI encoding (fix #30)