Update a rewrite config bug and update the amdin html