PG created_at and charts data visit fix