revert to erb for index