fix bug that cause a extra empty byte
fix bug that cause a extra empty byte