fix the writting