alert shows only home page