add  more array element check

ensure the element that user has passed is a  array element