resolve bug of nag link and space deleted