Fixed the empty page issue

Alo, I fixed that issue and also made some exports happen for root and other users for easier debug.