fixed minor spawn bug (I think)