fixed up athe setSupported issue.