fixed the serialize stuff i broke :)