small changes, worked before fatal pprz crash