fixed some shit, fixed threading