Always set redirect to false in the end.
Fix annotation error.