fix rendering issue (closing div)