fixed a few bugs with charModel computeAttrs, made it so it will be called on startup