fixed redirect & edit app url