fixed bug with toString
remove debug code