check item before remove