fix order of rendering values