Fixed bug on stringify