Fix URI params parsing