fix homepage detection in J!3.x