fixed persistent alert after page redirect