fix toString for null handler