restore_state remove bundle which raise exception
add auth application to huacaya (incomplete)