fix bug: if the item isn't image tag call reject