fixing id map uri constructor and present challenge dialog bug