fix index and home url