remove index error (not too important)