fixed memflush setting error