fixed rendering linking error