Fixed bug: representation does not work for None