make views after data loaded