Remove bad function call from index