Undefined detect method changed