reduce the occurance of a ui glitch in the files view
final to const