fixed unbound object problem and not have a serializing problem