fix check homepage function