Fix line number of instances number in file