fixed missing Uri encoding