Fix bugs of delete annotations.