fixed potential attribute error by navigating to waffled page