avio fixes, some docs