remove incorrect index