avoid undefined values on renderer