added debug 'null' print