small improve of renderer