fixed bug when SSG_DATA not set