add index and correct static path