stack size fix for autofetch, offline mode switch