fix #13. fix non TypedArray comression