fix rendering issue