fixed nil array element issue