fixed error with initial modifying