fix the reg page