Fix feature detection