fixed writebit