fixed rendering issue