fix bug with chart.js data in user show page.