fix some redirection loop, delete non-mps