auto detect some data