Changed detectiface()