fix bug cloggy app controller looping redirect