Fix export not showing correctly and spacing on view page