removes break on index