fixed re write

fixed re write