check if the last item passed to ship show is an svgelement before we pop the array