remove extra memcpy by append in BufferFile && various default value changes