use success instead of complete
rewrite route rule