bugfix: use generic URI only for parsing input