fixing open uri error