customRenderer newest version

don't know what I changed
improved code of customRenderer