fix testing failure on first page