fixed rendering from console