fixed duping bug w/ modified