modify command refactoring
Fixed link type remove