fixed writeLong 29