fix stupid bugs. can be baptized v1.00