removing dummy rows in index