layaot transform and index redirect