rendering error fixed