Remove bin and obj from index.