fixed activation redirect bug