Fixed a bug dealing with an array not clearing on zero elements
there needs to be a pic baby