fix for 'None\n'