fixing frontpage check