ouptut changed None to undefined