BUG make sure  is an array