minor maintenance and updated kazmath sources