remove extra stuff in index