fix error in detect pc model