View file

Changed index to sm global one