Fixing min max device width find replace all error