improved content renderring