Fix isSupported always show false.