Fixed modification bug