support local static or extern varaible