fixed writing and reading byte attributes
readme changes