check for null x in renderValue