check if 'array' isn't null before trying to delete an element from it
check if 'array' isn't null before trying to delete an element from it

darryd/vanslam_live,darryd/vanslam_live,darryd/vanslam_live