remove useless deploy fragment + correct redirect