prevent circular url get on bad account